﻿using DBProject2.View;
using DBProject2.ViewModel;
using System.ComponentModel;
using System.Windows;

namespace DBProject2
{
	//<summary>
	//Interaction logic for App.xaml
	//</summary>
	public partial class App : Application
	{
						protected override void OnStartup(StartupEventArgs e)
						{
								base.OnStartup(e);

								DataBaseViewModel viewModel = new DataBaseViewModel();

								DataBaseView view = new DataBaseView();

								view.DataContext = viewModel;

								view.Show();
						}
	}
}